package com.scu.qingshi.infrastructure.dao.service.impl;

import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.scu.qingshi.infrastructure.dao.mapper.InterviewProcessMapper;
import com.scu.qingshi.infrastructure.dao.po.InterviewProcess;
import com.scu.qingshi.infrastructure.dao.service.InterviewProcessService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 青时
 * @since 2022-03-05
 */
@Service
public class InterviewProcessServiceImpl extends ServiceImpl<InterviewProcessMapper, InterviewProcess> implements InterviewProcessService {

    @Override
    public void iUpdate(InterviewProcess interviewProcess) {
        UpdateWrapper<InterviewProcess> wrapper = new UpdateWrapper<>();
        wrapper.eq("inter_id", interviewProcess.getInterId());
        baseMapper.update(interviewProcess,wrapper);
    }
}
